Skip to content

Add gradle.properties file to build sql with -Pcrypto.standard=FIPS=140-3 by default#1343

Merged
dbwiddis merged 2 commits intoopensearch-project:mainfrom
cwperks:fips-property
Mar 27, 2026
Merged

Add gradle.properties file to build sql with -Pcrypto.standard=FIPS=140-3 by default#1343
dbwiddis merged 2 commits intoopensearch-project:mainfrom
cwperks:fips-property

Conversation

@cwperks
Copy link
Copy Markdown
Member

@cwperks cwperks commented Mar 27, 2026

Description

Inspired by opensearch-project/ml-commons#4719, this PR adds a gradle.properties file so that we only need to declare -Pcrypto.standard=FIPS-140-3 in a single place. Now its not necessary to pass the build param in commands like ./gradlew assemble -Pcrypto.standard=FIPS-140-3 as it passes the arg by default.

In order to build without the flag, you would need to override like so: ./gradlew assemble -Pcrypto.standard=any-supported

  • Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Refactoring

Check List

  • New functionality includes testing
  • New functionality has been documented
  • New Roles/Permissions have a corresponding security dashboards plugin PR
  • API changes companion pull request created
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…40-3 by default

Signed-off-by: Craig Perkins <cwperx@amazon.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.62%. Comparing base (5d0af77) to head (29931d8).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1343   +/-   ##
=========================================
  Coverage     77.62%   77.62%           
  Complexity     1267     1267           
=========================================
  Files           106      106           
  Lines          5904     5904           
  Branches        612      612           
=========================================
  Hits           4583     4583           
  Misses         1025     1025           
  Partials        296      296           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cwperks cwperks added skip-changelog backport 3.6 Backport to 3.6 branch labels Mar 27, 2026
@dbwiddis
Copy link
Copy Markdown
Member

In order to build without the flag, you would need to override like so

Can you update the DEVELOPER_GUIDE with this information?

Signed-off-by: Craig Perkins <cwperx@amazon.com>
@cwperks
Copy link
Copy Markdown
Member Author

cwperks commented Mar 27, 2026

Can you update the DEVELOPER_GUIDE with this information?

Done.

@dbwiddis dbwiddis merged commit 48e585c into opensearch-project:main Mar 27, 2026
64 of 65 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 27, 2026
…40-3 by default (#1343)

* Add gradle.properties file to build sql with -Pcrypto.standard=FIPS=140-3 by default

Signed-off-by: Craig Perkins <cwperx@amazon.com>

* Update DEVELOPER_GUIDE

Signed-off-by: Craig Perkins <cwperx@amazon.com>

---------

Signed-off-by: Craig Perkins <cwperx@amazon.com>
(cherry picked from commit 48e585c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dbwiddis pushed a commit that referenced this pull request Mar 27, 2026
…standard=FIPS=140-3 by default (#1344)

Add gradle.properties file to build sql with -Pcrypto.standard=FIPS=140-3 by default (#1343)

* Add gradle.properties file to build sql with -Pcrypto.standard=FIPS=140-3 by default



* Update DEVELOPER_GUIDE



---------


(cherry picked from commit 48e585c)

Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 3.6 Backport to 3.6 branch skip-changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants